<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>下单成功</title>
	
	<style type="text/css">
		#successDiv {
			width: 40%; 
			margin: auto; 
			border: 1px solid #ccc;
		}
		#successDiv h1 {
			color: #FF0000;
			margin-left: 
		}
		#successDiv_input1{
			color: #0066ff; 
			background-color: #fef4d9; 
			padding: 0px; 
			border-style: none;
		}
		#successDiv_input2{
			color: #0066ff; 
			border-style: none;
		}
	</style>
</head>
<body>
	<div id="successDiv">
		<form name="loading">
			<h1>下单成功！！</h1>
			<p>
				<font color="#0066ff">正在进入，请稍等</font>
				<font color="#0066ff">...</font> 
				<input type="text" name="chart" size="15" id="successDiv_input1">
				<input type="text" name="percent" size="2" id="successDiv_input2">
				<!-- 自动跳转 js-->
				<script> 
					var bar=0; 
					var line="||"; 
					var amount="||"; 
					count(); 
					function count(){ 
						 bar=bar+5;
						amount =amount + line;
						document.loading.chart.value=amount; 
						document.loading.percent.value=bar+"%";  
						if (bar<99) {
							setTimeout("count()",100);
						}else {window.location = "http://www.baidu.com";
						} 
					}
				</script>
			</p>
			<p>
				如果您的浏览器不支持跳转,
				<a style="text-decoration: none" href="http://www.baidu.com">
					<font color="#FF0000">请点这里</font>
				</a>
			</p>
		</form>
	</div>
</body>
</html>